/*
 * @Descripttion: Git提交规范配置，参考Angular规范
 * @Author: ZhiChao Lin
 * @version: 1.0
 * @Date: 2020-07-29 11:38:05
 * @LastEditors: ZhiChao Lin
 * @LastEditTime: 2020-09-28 17:14:01
 */


module.exports = {
  extends: ['@commitlint/config-angular'],
  rules: {
    'scope-empty': [2, 'never'], // 操作
    'subject-min-length': [2, 'always', 6], // 提交内容最少6字F
    'header-max-length': [0, 'always', 300], // 提交内容最多300字F
  },
};
